package com.cloudlinkscm.base.authcenter.model.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by sin on 2017/8/10.
 */
public class RoleMoveDTO {

	/**
	 * 移动方式 - 移入
	 */
	public static final Integer MOVE_MODE_IN = 1;
	/**
	 * 移动方式 - 移出
	 */
	public static final Integer MOVE_MODE_OUT = 2;

	/**
	 * 移动节点
	 */
	@ApiModelProperty(value = "移动节点 id", required = true, example = "[]")
	@NotNull
	private List<String> nodeIds;
	/**
	 * 移动方式 1、移入 2、移出
	 */
	@ApiModelProperty(value = "移动方式 1、移入 2、移出", required = true, example = "1")
	@NotNull
	private Integer moveMode;

	@Override
	public String toString() {
		return "RoleMoveDTO{" +
				"nodeIds=" + nodeIds +
				", moveMode=" + moveMode +
				'}';
	}

	public static Integer getMoveModeIn() {
		return MOVE_MODE_IN;
	}

	public static Integer getMoveModeOut() {
		return MOVE_MODE_OUT;
	}

	public List<String> getNodeIds() {
		return nodeIds;
	}

	public void setNodeIds(List<String> nodeIds) {
		this.nodeIds = nodeIds;
	}

	public Integer getMoveMode() {
		return moveMode;
	}

	public void setMoveMode(Integer moveMode) {
		this.moveMode = moveMode;
	}
}
